You are here: Symbol Reference > Dew Namespace > Dew.Stats Namespace > Dew.Stats.Units Namespace > Classes > StatControlCharts Class > StatControlCharts Methods > StatControlCharts.QCCapIndexes Method
Dew Stats for .NET
ContentsIndexHome
PreviousUpNext
StatControlCharts.QCCapIndexes Method

Process Capability indexes p, Cp and Cpk.

Syntax
C#
Visual Basic
public static void QCCapIndexes([In] TVec Data, [In] double LB, [In] double UB, out double p, out double CP, out double CPK, ref double[] CPConfInt, ref double[] CPKConfInt, double Alpha);
Parameters 
Description 
[In] TVec Data 
Process data. 
[In] double LB 
Lower specification limit. LB and UB are boundaries within which measurements on a product characteristic must lie. 
[In] double UB 
Upper specification limit. LB and UB are boundaries within which measurements on a product characteristic must lie. 
out double p 
Returns calculated significance. 
out double CP 
Returns capability index. 
out double CPK 
Returns capability index for uncentred process. 
ref double[] CPConfInt 
Returns 100*(1-Alpha) Cp confindence interval. 
ref double[] CPKConfInt 
Returns 100*(1-Alpha) CPK confidence interval. 
double Alpha 
Desired significance level. 

Calculates the Process Capability indexes p, Cp(aka CPR) and Cpk(AKA CPRk).

In the following example capability indexes and their condifence are calculated.

using Dew.Math; using Dew.Math.Units; using Dew.Stats.Units; namespace Dew.Examples { private void Example() { double p, lb, ub, cp, cpk; double[] CPConfInt, CPKConfInt; Vector data = new Vector(0); lb = -0.1; ub = 0.1; data.LoadFromFile("PCDATA.vec"); StatControlCharts.QCCapIndexes(data, lb, ub, out p, out cp, out cpk, out CPConfInt, out CPKConfInt, 0.05); } }
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!